package com.twang.stock.mapper;

import com.twang.stock.entity.ReDianHotRank;
import com.twang.stock.entity.ThsReDianStock;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

import java.util.Date;
import java.util.List;

public interface ReDianHotRankMapper extends Mapper<ReDianHotRank> {

    List<ReDianHotRank> getReDianHotRank();
    //
    List<ReDianHotRank> query(ReDianHotRank reDianHotRank);

    List<ReDianHotRank> queryCodes();

    List<ReDianHotRank>  getMax(@Param("code") String code, @Param("date") Date date);

    List<ReDianHotRank>  getMin(@Param("code") String code, @Param("date") Date date);

    int deletedData(Long id);

    int getDeletedId(Date date);


}
